package com.spdd.mt.biz.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.spdd.mt.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * <p>
 * 数据统计表
 * </p>
 *
 * @author shanfeilong
 * @since 2025-04-02
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("mt_recharge_order_statics")
public class MtRechargeOrderStaticsEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 月份 */
    @TableField("month")
    private Integer month;

    /** 终态日期⾦额 */
    @TableField("finish_date")
    private String finishDate;

    /** 运营商编码 */
    @TableField("carrier_code")
    private String carrierCode;

    /** 美团商⼾编码 */
    @TableField("app_id")
    private String appId;

    /** 产品编码 */
    @TableField("product_denomination")
    private String productDenomination;

    /** 订单状态 */
    @TableField("order_status")
    private Integer orderStatus;

    /** 订单总笔数 */
    @TableField("total_num")
    private Integer totalNum;

    /** 订单总金额,金额单位分 */
    @TableField("total_amt")
    private String totalAmt;

    /** 结算客户总⾦额,金额单位毫 */
    @TableField("total_contract_amt")
    private String totalContractAmt;

    /** 供应商结算总金额,金额单位毫 */
    @TableField("total_supplier_amt")
    private String totalSupplierAmt;

    /** 创建时间 */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /** 更新时间 */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

}
